//
//  RCTicketOrderCells.h
//  RocketProject
//
//  Created by chen jiedan on 13-9-8.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import <UIKit/UIKit.h>

@class RCTrainItemDataModel;
@class RCTicketOrderUserInfo;


@interface RCTicketOrderTimeHeaderCell : UITableViewCell


- (void) bindData:(RCTrainItemDataModel *)dataModel withTimeString:(NSString *)timeString;

+(CGFloat)getCellHeight;

@end


@interface RCTicketTimePriceDetailCell : UITableViewCell

- (void) bindData:(RCTrainItemDataModel*)dataModel;

+(CGFloat)getCellHeight;

@end



@interface RCTicketSeatTypeCell : UITableViewCell

- (void) bindData:(RCTrainItemDataModel*)dataModel;

+(CGFloat)getCellHeight;

@end



typedef enum {
    RCTicketUserInfoCell_Type_Add_FlyBoader = 1,
    RCTicketUserInfoCell_Type_Add_TrainBoader=2,
    RCTicketUserInfoCell_Type_NormalPhone    =3
}RCTicketUserInfoCell_Type;

@interface RCTicketAddUserInfoCell : UITableViewCell

+(CGFloat)getCellHeight;

@end

@interface RCTicketPhoneInfoCell : UITableViewCell<UITextFieldDelegate>

@property(nonatomic,retain)UITextField *phoneTextField;

+(CGFloat)getCellHeight;

@end

@interface RCTicketUserInfoCell : UITableViewCell

- (void) bindData:(RCTicketOrderUserInfo*)dataModel;


+(CGFloat)getCellHeight;

@end

@protocol RCTicketTotalPriceDelegate <NSObject>

@optional

-(void)commitOrderButtonClick;

@end

@interface RCTicketTotalPriceCell : UITableViewCell

@property(nonatomic,assign)id<RCTicketTotalPriceDelegate>delegate;

- (void) bindData:(RCTrainItemDataModel*)dataModel;

+(CGFloat)getCellHeight;

@end
